package com.yu.service;

import lombok.*;

/**
 * @PackageName: com.yu.service
 * @Description:
 * @Version: v1.0.0
 * @Author: yuweilin
 * @Date: 13:49
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ------------------------------------------------------------
 * 2021/1/22      yuweilin         v1.0.0               新建
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@Builder
public class RpcServiceProperties {
    private String version;

    private String group;

    private String serviceName;

    public String toRpcServiceName(){
        return this.getServiceName()+this.getGroup()+this.getVersion();
    }
}
